import http from '@/design/libs/request/request'

const BASE_URL = '/shangyou/erwh'

export default {
  // 获取商户名称列表
  bmNamelist: data => http.post(BASE_URL + '/bmNamelist', data),
  // 获取商户名称列表
  bmRyxxlist: data => http.post(BASE_URL + '/bmRyxxlist', data),
  // 获取商友收款方式
  sypaylist: data => http.post(BASE_URL + '/sypaylist', data),
  // 获取商户列表
  bmlist: data => http.post(BASE_URL + '/bmlist', data),
  // 创建商户
  bmcreate: data => http.post(BASE_URL + '/bmcreate', data),
  // 更新商户
  bmupdate: data => http.post(BASE_URL + '/bmupdate', data),
  // 获取商户收款方式列表
  paylist: data => http.post(BASE_URL + '/paylist', data),
  // 创建商户收款方式
  paycreate: data => http.post(BASE_URL + '/paycreate', data),
  // 更新商户收款方式
  payupdate: data => http.post(BASE_URL + '/payupdate', data)
}
